<?php

use think\facade\Route;



//各个商铺公用

Route::group(function (){

    //首页

    Route::rule('terminal/showAppSku','terminal.Shop/showAppSku');

    Route::rule('terminal/activateShop','terminal.Shop/activateShop');



    //店铺资料

    Route::rule('terminal/showShopDetail','terminal.ShopDetail/show');

    Route::rule('terminal/saveShopDetail','terminal.ShopDetail/save');



    //运营管理

    Route::rule('terminal/getShopAccountList','terminal.ShopAccount/index');

//    Route::rule('terminal/showShopAccount','terminal.ShopAccount/show');

    Route::rule('terminal/saveShopAccount','terminal.ShopAccount/save');
    Route::rule('terminal/upShopAccount','terminal.ShopAccount/edit');
    Route::rule('terminal/saveShopPassword','terminal.ShopAccount/saveShopPassword');
    Route::rule('terminal/delShopAccount','terminal.ShopAccount/del');
    Route::rule('terminal/statusShopAccount','terminal.ShopAccount/effect');



    //小程序

    Route::rule('terminal/showPaymentStatus','terminal.Shop/showPaymentStatus');

    Route::rule('terminal/showShopPayment','terminal.Shop/showShopPayment');

    Route::rule('terminal/saveShopPayment','terminal.Shop/saveShopPayment');

    Route::rule('terminal/showKefu','terminal.Shop/showKefu');

    Route::rule('terminal/getAppTemplateList','Miniapp/getAppTemplateList');



    //海报

    Route::rule('terminal/getShopPosterList','terminal.ShopPoster/index');

    Route::rule('terminal/showShopPoster','terminal.ShopPoster/show');

    Route::rule('terminal/saveShopPoster','terminal.ShopPoster/save');

    Route::rule('terminal/delShopPoster','terminal.ShopPoster/del');





})->middleware(\app\platform\middleware\Check::class);